package com.chalk.common.lottery;

import lombok.Data;

/**
 * 抽奖实体类
 */
@Data
public class LotteryModel {

    /**
     * 序号
     */
    private int index;
    /**
     * 编号
     */
    private String gitfId;
    /**
     * 商品名称
     */
    private String giftName;
    /**
     * 中奖概率
     */
    private double probability;

    public LotteryModel(int index, String gitfId, String giftName, double probability) {
        this.index = index;
        this.gitfId = gitfId;
        this.giftName = giftName;
        this.probability = probability;
    }
}
